package com.sunyard.client2.ui;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JTabbedPane;

public class Update extends JPanel {

	/**
	 * Create the panel.
	 */
	public Update() {
		setLayout(new BorderLayout(0, 0));
		setVisible(true);
		init();
	}

	private void init() {

		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		add(tabbedPane, BorderLayout.CENTER);
		UpdateBatchInfo batchInfoPanel = new UpdateBatchInfo();
		tabbedPane.add("批次信息",batchInfoPanel);
		tabbedPane.add("文件属性", new UpdateAttr(batchInfoPanel));
		tabbedPane.add("文件处理", new UpdateAddFile(batchInfoPanel));
	}
}
